package com.squirrel.facade;

import com.squirrel.factory.SqlBuildFactory;
import com.squirrel.service.AbstractSqlHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;


/**
 * @author wangyan
 */
@Service
public class SqlHandler extends AbstractSqlHandler {
    @Autowired
    private SqlBuildFactory sqlBuildFactory;


    public <T extends SqlOperate> T create(Class<T> c) {
        return sqlBuildFactory.create(c);
    }
}
